package com.example.demo;

/**
 * Created by uc on 2018/10/21.
 */
public class AsmAop {
    public static void main(String[] args) throws Exception {
//        Class<?> clazz = new AopClassLoader(Thread.currentThread().getContextClassLoader()).loadClass("cn.cy.platform.core.TestBean_Tmp");
        Class<?> clazz = new AopClassLoader(Thread.currentThread().getContextClassLoader()).loadClass("com.example.demo.TestBean");
        clazz.getMethods()[0].invoke(clazz.newInstance());
    }
}